home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_222
/
plplot
/
src
/
source.zoo
/
plend.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-15
|
401b
|
21 lines
/* Ends a plotting session */
#include <stdio.h>
#include <stdlib.h>
#include "plplot.h"
#include "declare.h"
void plend()
{
int dev, term, gra, level;
glev(&level);
if (level == 0) return;
gdev(&dev,&term,&gra);
if( heap3 != NULL) free((void *)heap3);
if( heapc != NULL) free((void *)heapc);
if (gra != 0) pltext();
grtidy();
slev(0);
}